package co.bugu.code.analysis.service.entity;

import cn.idev.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * 代码信息
 * @author daocers
 * @date 2025/3/14 10:40
 */
@Data
public class CodeFileInfo {
    @ExcelProperty("项目")
    private String project;
    @ExcelProperty("文件")
    private String file;
    @ExcelProperty("文件类型")
    private String type;



    @ExcelProperty("块注释数量")
    private Integer blockCommentCount;
    @ExcelProperty("方法数量")
    private Integer methodCount;
    @ExcelProperty("方法注释比例")
    private Double blockCommentRate;


    @ExcelProperty("注释行数")
    private Integer commentLineCount;
    @ExcelProperty("总行数")
    private Integer lineCount;
    @ExcelProperty("行注释比例")
    private Double commentLineRate;
}
